﻿<UserControl
	xmlns="http://schemas.microsoft.com/client/2007"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="SilverlightDesktop.SilverlightWindowControl"
	d:DesignWidth="144.03" d:DesignHeight="174.604" HorizontalAlignment="Left">
    <Canvas HorizontalAlignment="Stretch" Margin="0,0,0,0" Width="Auto" VerticalAlignment="Stretch" Height="Auto" x:Name="WindowControl">
        <ScrollViewer x:Name="Window" Height="550.957" Width="537.97" Canvas.Left="3.03" Canvas.Top="21.39" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Opacity="1" VerticalAlignment="Top" HorizontalAlignment="Left" Background="#FFFFFFFF"/>
        <Rectangle MouseLeftButtonDown="LeftSide_MouseLeftButtonDown" Cursor="SizeWE" x:Name="LeftSide" Width="3.03" Fill="#FF556BA5" Stroke="#FF000000" StrokeThickness="0" Height="570.000007629395" Canvas.Top="2.325" d:LayoutOverrides="Width"/>
        <Rectangle MouseLeftButtonDown="RightSide_MouseLeftButtonDown" x:Name="RightSide" Width="3.03" Fill="#FF556797" Stroke="#FF000000" Cursor="SizeWE" StrokeThickness="0" Height="570.000007629395" Canvas.Left="541" Canvas.Top="2.326" d:LayoutOverrides="Width"/>
        <Rectangle MouseLeftButtonDown="BottomSide_MouseLeftButtonDown" Cursor="SizeNS" Height="2.977" x:Name="BottomSide" Fill="#FF6576A5" Stroke="#FF000000" StrokeThickness="0" Width="544.03" Canvas.Top="571.627" d:LayoutOverrides="Width, Height"/>
        <Rectangle MouseLeftButtonDown="TopSide_MouseLeftButtonDown" Height="2.977" x:Name="TopSide" Fill="#FF475A8D" Stroke="#FF000000" Cursor="SizeNS" StrokeThickness="0" Width="544.03" d:LayoutOverrides="Width, Height"/>
        <StackPanel Height="20" Width="537.7" Canvas.Left="3.03" Canvas.Top="2.978" x:Name="DragStackPanel" Orientation="Horizontal">
            <Rectangle MouseLeftButtonDown="DragBar_MouseLeftButtonDown" Height="20" x:Name="DragBar" Fill="#FFA4B3E6" Stroke="#FF000000" StrokeThickness="0" Width="514.044" Cursor="Hand" MouseEnter="DragBar_MouseEnter" MouseLeave="DragBar_MouseLeave"/>
            <Canvas MouseLeftButtonDown="CloseButton_MouseLeftButtonDown" Height="20" x:Name="CloseButton" Width="22.568" VerticalAlignment="Top">
                <Rectangle Height="20" Width="23.905" Stroke="#FF000000" StrokeThickness="0" d:LayoutOverrides="Width" x:Name="CloseButtonBackground">
                    <Rectangle.Fill>
                        <RadialGradientBrush>
                            <GradientStop Color="#FF06217C" Offset="0"/>
                            <GradientStop Color="#FFA4B3E6" Offset="1"/>
                        </RadialGradientBrush>
                    </Rectangle.Fill>
                </Rectangle>
                <Canvas Height="12.467" Width="3.183" Canvas.Left="10.784" Canvas.Top="3.59" d:LayoutOverrides="Width, Height">
                    <Rectangle Height="12.467" Width="3.183" RenderTransformOrigin="0.5,0.5" Fill="#FF0A0A0A" Stroke="#FF000000" d:LayoutOverrides="Width, Height">
                        <Rectangle.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform/>
                                <SkewTransform/>
                                <RotateTransform Angle="31.484000167846681"/>
                                <TranslateTransform/>
                            </TransformGroup>
                        </Rectangle.RenderTransform>
                    </Rectangle>
                    <Rectangle Height="12.467" Width="3.183" Fill="#FF0A0A0A" Stroke="#FF000000" RenderTransformOrigin="0.5,0.5" d:LayoutOverrides="Width, Height">
                        <Rectangle.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform/>
                                <SkewTransform/>
                                <RotateTransform Angle="-36.589999237060546"/>
                                <TranslateTransform/>
                            </TransformGroup>
                        </Rectangle.RenderTransform>
                    </Rectangle>
                </Canvas>
            </Canvas>
        </StackPanel>
        <TextBlock MouseLeftButtonDown="DragBar_MouseLeftButtonDown" Text="" TextWrapping="Wrap" x:Name="WindowName" Canvas.Top="1.463" Canvas.Left="4.104" MouseEnter="DragBar_MouseEnter" MouseLeave="DragBar_MouseLeave"/>
    </Canvas>
</UserControl>